void inverse_map(vector& p,float& u,float& v)
Parameter | Type | Description |
---|---|---|
p | vector& | point in object space |
u | float& | point co-ordinate in u axis |
v | float& | point co-ordinate in v axis |
None
This function maps a point from object space into light map texture space.
The p parameter defines a point in the object's space that is mapped
into an object light map texture space 2D point.
This is used to find which light map pixel corresponds to a point in the face
surface.